package sorters;


import java.util.ArrayList;
import java.util.Collections;
import brewery.Beer;
import comparators.*;


public class AlcoholSorter implements BeerSorter{

	public void sort(ArrayList<Beer> beerList){
			
		
		Collections.sort(beerList, new BeerAlcoholComparator());
		
		
		for (Beer beerElement : beerList) {
			System.out.println(beerElement.getBrixDegrees());
			 
			
		}
	}

}